package ooday04;

public class Dog extends Animal implements Swim{
    Dog(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    void eat() {
        System.out.println(name+"的狗狗在骨头");
    }
    void lookHome(){
        System.out.println(name+"狗狗在看家");
    }
    public void swim(){
        System.out.println(name+"狗狗游泳");
    }

}
